const KEY = 'hmmm_token'

const setToken = token => {
  localStorage.setItem(KEY, token)
}

const getToken = () => {
  return localStorage.getItem(KEY)
}

const removeToken = () => {
  localStorage.removeItem(KEY)
}

export { setToken, getToken, removeToken }
